const express = require('express');
const router = express.Router();


const {
	getList,
	countStatus,
	addOrder,
	updateOrder
} = require('../router_handler/orders')

// 查询
router.get("/orderList", getList)
// 统计订单状态
router.get("/orderStatus", countStatus)



// 新增
router.post("/addOrder", addOrder)
// 更新
router.post("/updateOrder", updateOrder)


module.exports = router